﻿package com.eitb.programas.olentzero09 {
	import flash.events.*;
	import flash.display.*;
	import flash.geom.*;
	
	import com.eitb.programas.olentzero09.events.*;
	import com.eitb.programas.olentzero09.*;

	public interface IVistaJuego {
		function setVisible(visible:Boolean):void;
		function addChild(child:DisplayObject):DisplayObject;
		function removeChild(child:DisplayObject):DisplayObject;
		
		function getNumChilds():int;
		function getChildAt(index:int):DisplayObject;
		function setPuntos(puntos:String):void;
		function setVidas(vidas:String):void;
		
		function setOlentzero(cOlentzero:IControladorOlentzero, vOlentzero:IVistaOlentzero):void;
		function dispatchEvent(event:Event):Boolean;
		function removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void;
		function addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0.0, useWeakReference:Boolean = false):void;
		
		function finalize():void;
	}
}